// 字段类型定义
interface InputField {
  label: string;
  filed: string;
  placeholder: string;
  type: 'text' | 'number' | 'date' | 'select';
  required: boolean;
  options?: string[];
}

export const input_fields: InputField[] = [
  {
    label: '消费金额',
    filed: 'amount',
    placeholder: '请输入金额',
    type: 'number',
    required: true,
  },
  {
    label: '消费时间',
    filed: 'consumerDate',
    placeholder: '选择时间',
    type: 'date',
    required: true,
  },
  {
    label: '支付人员',
    filed: 'payUserName',
    placeholder: '请输入支付人',
    type: 'text',
    required: true,
  },
  {
    label: '受益人员',
    filed: 'forUserName',
    placeholder: '请输入受益人',
    type: 'text',
    required: true,
  },
  {
    label: '支付平台',
    filed: 'payPlat',
    placeholder: '请输入支付平台',
    type: 'text',
    required: true,
  },
  {
    label: '支付方式',
    filed: 'payWay',
    placeholder: '请选择支付方式',
    type: 'select',
    required: true,
    options: [
      '现金',
      '银行卡',
      '微信支付',
      '支付宝',
      '银行转账',
      '其他'
    ]
  },
  {
    label: '收款对方',
    filed: 'recipient',
    placeholder: '请输入收款方',
    type: 'text',
    required: true,
  },
  {
    label: '消费备注',
    filed: 'remark',
    placeholder: '请输入备注',
    type: 'text',
    required: true,
  },
];
